/*
 * @Author: 胡晓星
 * @Date: 2024-07-23 16:43:31
 * @LastEditors: 胡晓星
 * @LastEditTime: 2024-09-03 14:26:43
 * @FilePath: g:\nodePre\rsba-serve\src\app.module.ts
 * @Description: 
 */
import { Module } from '@nestjs/common';
import { SharedModule } from './shared/shared.module';
import { ConfigModule } from '@nestjs/config';

import { UserModule } from './modules/user/user.module';
import { PermissionModule } from './modules/permission/permission.module';
import { RoleModule } from './modules/role/role.module';
import { AuthModule } from './modules/auth/auth.module';
import { PlayerModule } from './modules/player/player.module';

@Module({
  imports: [
    /* 配置文件模块 */
    ConfigModule.forRoot({
      isGlobal: true,
      envFilePath: ['.env.local', '.env'],
    }),

    UserModule,
    PermissionModule,
    RoleModule,
    AuthModule,
    PlayerModule,

    SharedModule,
  ],
})
export class AppModule {}
